<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
  <h3>图文混排</h3>
  <div class="article">
    Lorem ipsum dolor sit <img src="img/pic.jpg" /> amet consectetur adipisicing elit. Tempora praesentium obcaecati accusamus doloremque consectetur animi, magni iusto voluptas  <img src="img/pic.jpg" />  omnis voluptates  <img src="img/pic.jpg" />  fugit dolore possimus in! Necessitatibus laudantium tempora enim veritatis pariatur.
  </div>
  
  <style>
    /* 图文混排 */
    .article img{
        vertical-align:middle;
        height: 3em;
        width: 3em;
    }
  </style>
</body>
</html>